#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include<mycoin.h>
#include <QMainWindow>

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    //explicit PlayScene(QWidget *parent = nullptr);

    PlayScene(int levelNum);

    int levelIndex;

    //重写paintevent事件
    void paintEvent(QPaintEvent *);

    //创建二维数组，维护每一关具体数据

    int gameArray[4][4];

    MyCoin *coinBtn[4][4];

    //判断是否是胜利
    bool isWin =true;

signals:

    void playSceneBack();
};

#endif // PLAYSCENE_H
